home *** CD-ROM | disk | FTP | other *** search
/ Emuladores 7 / EMULADORES_7.iso / interface / md.000 / scripts / DefineSprite_220_moldura / frame_1 / PlaceObject2_94_13 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2004-08-28  |  3KB  |  50 lines

  1. onClipEvent(enterFrame){
  2.    fscommand("CLR");
  3.    fscommand("ARG");
  4.    getUrl("FSCommand:ARG", "state");
  5.    fscommand("SYSINFO.CONNECTSTATE");
  6.    _root.carregado = carregado;
  7.    if(_level0.state == "ONLINE")
  8.    {
  9.       if(carrega_noticias == 1)
  10.       {
  11.          loadVariables("http://www.digerati.com.br/noticias_nova.php",this);
  12.          carrega_noticias = 2;
  13.       }
  14.       if(carregado == 1)
  15.       {
  16.          if(montado == 2)
  17.          {
  18.             maracutaia = 1;
  19.             noticia1 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id1 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo1 + "</u></a>";
  20.             noticia2 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id2 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo2 + "</u></a>";
  21.             noticia3 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id3 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo3 + "</u></a>";
  22.             noticia4 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id4 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo4 + "</u></a>";
  23.             noticia5 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id5 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo5 + "</u></a>";
  24.             noticia6 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id6 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo6 + "</u></a>";
  25.             noticia7 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id7 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo7 + "</u></a>";
  26.             noticia8 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id8 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo8 + "</u></a>";
  27.             noticia9 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id9 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo9 + "</u></a>";
  28.             noticia10 = "<a href=\"http://www.digerati.com.br/geek/modules.php?op=modload&name=news&file=article&sid=" + id10 + "&mode=thread&order=0&thold=0\" target=\"_blank\"><u>" + titulo10 + "</u></a>";
  29.             play();
  30.             montado = 1;
  31.          }
  32.       }
  33.    }
  34.    else if(maracutaia == 1)
  35.    {
  36.       with(_root.moldura.login)
  37.       {
  38.          gotoAndStop(1);
  39.       }
  40.       maracutaia = 2;
  41.       var tab = "\t";
  42.       var args = "_level0.answer" + tab + "EXCLAMATION" + tab + "OKONLY" + tab + "Sua conex├úo com a Internet foi desfeita" + tab + "DigeBrowser";
  43.       getURL("FSCommand:MsgBox",args);
  44.       fscommand("Browser.Close");
  45.       fscommand("Browser.Close");
  46.       _root.carregado = 2;
  47.       carregado = 2;
  48.    }
  49. }
  50.